Skip to main content
Version: 4.x.x

WSAdapterOptionsType


import { WSAdapterOptionsType } from "@hyper-fetch/sockets"

Description

Defined in adapter/adapter.types.ts:24

Preview

type WSAdapterOptionsType = {
heartbeat: boolean;
heartbeatMessage: string;
pingTimeout: number;
pongTimeout: number;
protocols: string[];
reconnectTimeout: number;
}

Structure

{
heartbeat: boolean;
heartbeatMessage: string;
pingTimeout: number;
pongTimeout: number;
protocols: string[];
reconnectTimeout: number;
}